//
//  supplyViewButton.m
//  XYMaterial
//
//  Created by 肖扬 on 16/1/7.
//  Copyright © 2016年 肖扬. All rights reserved.
//

#import "supplyViewButton.h"

@implementation supplyViewButton
@synthesize button,brand;
-(id)initWithFrame:(CGRect)frame{
    self = [super initWithFrame:frame];
    if (self) {
        self.brand = [[tj_brandsModel alloc]init];
        self.button = [UIButton buttonWithType:0];
        [self.button setBackgroundColor:[UIColor clearColor]];
        [self.button setTitleColor:[UIColor grayColor] forState:0];
        [self addSubview:self.button];
    }
    return self;
}
/*
// Only override drawRect: if you perform custom drawing.
// An empty implementation adversely affects performance during animation.
- (void)drawRect:(CGRect)rect {
    // Drawing code
}
*/

@end
